/**
 * Project Name:WxpayPayProperties.java
 * File Name:WxpayPayProperties.java
 * Date:2018/8/2 下午6:23
 * Copyright (c) 2018, zhang.xiangyu@foxmail.com All Rights Reserved.
*/
package com.meatball.utils.pay.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Title: WxpayPayProperties.java
 * @Description: todo(微信支付参数)
 * @Author 張翔宇
 * @Date 2018/8/2 下午6:23
 * @Version V1.0
 */
@Component
@ConfigurationProperties(prefix = "wxpay")
@PropertySource("classpath:wxpay-test.yml")
@Data
public class WxpayPayProperties {
    /**
     *
     */
    @Value("${app_id}")
    private String appID;

    /**
     *
     */
    @Value("${mch_id}")
    private String mchID;

    @Value("${key}")
    private String key;
}
